<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="noticeId" name="noticeId" th:value="${notice.noticeId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">公告名称：</label>
                            <div class="col-sm-8">
                                <input id="noticeTitle" name="noticeTitle" th:value="${notice.noticeTitle}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">公告内容：</label>
                            <div class="col-sm-8">
                                <textarea id="noticeContent" name="noticeContent" class="form-control" type="text" th:text="${notice.noticeContent}"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">状态：</label>
                            <div class="col-sm-8">
                                <select id="noticeStatus" name="noticeStatus" class="form-control">
                                    <option value="1" th:selected="${notice.noticeStatus == 1}">发布</option>
                                    <option value="0" th:selected="${notice.noticeStatus == 0}">草稿</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">排序：</label>
                            <div class="col-sm-8">
                                <input id="noticeOrder" name="noticeOrder" th:value="${notice.noticeOrder}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/system/notice/edit.js">
</script>
</body>
</html>
